use shell::syscall;

#[test]
fn test_fork() {
    let pid = syscall::fork();

    if pid == 0 {
        println!("I am Child. PID: {}", syscall::getpid());
    } else {
        println!("I am Parent. My PID: {}, Child PID: {}", syscall::getpid(), pid);
    }
}